package cn.lyvust.demo.shili03;

/**
 * Description:
 * date: 2021-5-11 22:20
 *
 * @author Guo_guo
 * @since JDK 1.8
 */
public class ClassFourThreadTest {
    public static void main(String[] args) {
        // 复习：类与对象的关系:一个类可以通过new构造多个对象
        ClassFourThread thread1 = new ClassFourThread(); //创建新线程thread1
        ClassFourThread thread2 = new ClassFourThread(); //创建新线程thread2
        thread1.start(); //启动thread1
        thread2.start(); //启动thread2
    }
}
